package com.ios.mapper;

import com.ios.model.entity.Room;
import com.ios.model.entity.Seat;

import java.util.List;

public interface RoomMapper {
    int insertRoom(Room room);
    int updateRoom(Room room);
    int deleteRoomByIds(Long[] ids);
    Room selectRoomById(Long id);
    List<Room> selectRoomList(Room room);
    int countSeatsByRoomId(Long roomId);
    List<Seat> selectSeatsByRoomId(Long roomId);
}